﻿/******************************************************************************************
*                                                                                         *    
*                              Developed by Bruno Pires                                   *
*                                                                                         *
*                             email: bruno@blastersystems.com                             *
*                               web: www.blastersystems.com                               *
*                              blog: www.blastersystems.com/blog                          *
*                           twitter: brunoacpires                                         *
*                                                                                         *
*                      Software available under GNU LGPL License                          *
*                                                                                         *    
* *****************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EFDataPager.UserControls
{
    public class PagerEventArgs : EventArgs
    {
        public int pageSize     { get; protected set; }     /*número de registos por página*/           /*number of records per page*/
        public int pageCount    { get; protected set; }     /*número total de registos */               /* total number of records*/
        public int rowCount     { get; protected set; }     /*número do primeiro registo apresentado*/  /* first record in current page*/
        public int currentRow   { get; protected set; }     /*página actual                             /*current page number*/
        public int currentPage  { get; protected set; }     /*número total de páginas*/                 /*total number of pages*/

        public PagerEventArgs(int _pageSize, int _rowCount, int _currentRow, int _currentPage, int _pageCount)
        {
            this.pageSize       = _pageSize;
            this.rowCount       = _rowCount;
            this.currentRow     = _currentRow;
            this.currentPage    = _currentPage;
            this.currentRow     = _currentRow;
        }
    }
}